package com.yvon.core.page;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
public class OrderParam implements Serializable {
    private static final long serialVersionUID = -407107363310647003L;
    private String fieldName;
    private Order order;

    public static enum Order {
        asc,
        desc;

        private Order() {
        }
    }
}
